from abc import ABC, abstractmethod
from ..agent.base import BaseAgent

class BaseFlow(ABC):
    def __init__(self):
        self.agents = []

    def add_agent(self, agent: BaseAgent):
        self.agents.append(agent)

    @abstractmethod
    def execute(self):
        pass